package coms.ejb.sessionbean;

import java.util.List;

import javax.ejb.Remote;

import coms.datatransfer.ConferenceDTO;
import coms.datatransfer.ConferenceItemDTO;
import coms.exception.RegistrationDateExpiredException;

@Remote
public interface ConferenceBeanRemote {
	
	//public void initialize();
	public Integer createConference(ConferenceDTO conference);
	public void createConferenceItem(ConferenceItemDTO conferenceItem, int conferenceID);
	public String testMethod();
	public ConferenceDTO findConference(int id);
	public List<ConferenceDTO> findAllConferences();
	public void registerParticipant(int conferenceItemID, int userID) throws RegistrationDateExpiredException;
	public List<ConferenceItemDTO> findConfirmedConferenceItems(int userID);
	public List<ConferenceItemDTO> findRegisteredConferenceItems(int uID);
}
